package com.deyang.system.domain;

import java.util.Date;

import com.deyang.common.annotation.Excel;
import com.deyang.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 居民登记信息对象 resident_regist_info
 *
 * @author dingqianbin
 * @date 2021-08-07
 */
public class ResidentRegistInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 居民登记信息表ID */
    private String id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 居民住址 */
    @Excel(name = "居民住址")
    private String address;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardNo;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 返回旌阳时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh")
    @Excel(name = "返回旌阳时间", width = 30, dateFormat = "yyyy-MM-dd hh")
    private Date returnTime;

    /** 社区 */
    @Excel(name = "社区")
    private String community;

    /** 社区编码 */
    @Excel(name = "社区编码")
    private String communityCode;

    /** 省编码 */
    @Excel(name = "省编码")
    private String provinceCode;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市编码 */
    @Excel(name = "市编码")
    private String cityCode;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区编码 */
    @Excel(name = "区编码")
    private String areaCode;

    /** 区 */
    @Excel(name = "区")
    private String area;

    /** 核酸采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh")
    @Excel(name = "核酸采集时间", width = 30, dateFormat = "yyyy-MM-dd hh")
    private Date acquisitionTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarke;

    /** 隔离状态  0 无需隔离 1 集中隔离  2 居家隔离 */
    @Excel(name = "隔离状态")
    private String isolatedState;

    /** 隔离开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "隔离开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date isolatedStartTime;

    /** 隔离结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "隔离结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date isolatedEndTime;

    /** 返回区域风险等级 0 境外返回 1 重点城市返回 2 中风险返回 3 低风险返回 */
    @Excel(name = "返回区域风险等级")
    private String areaRisk;

    /** 是否为密切接触者 否 0，是 1 */
    @Excel(name = "是否为密切接触者 否 0，是 1")
    private String closeContacts;



    //页面
    private int pageNum;
    //条数
    private int pageSize;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setCardNo(String cardNo)
    {
        this.cardNo = cardNo;
    }

    public String getCardNo()
    {
        return cardNo;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setReturnTime(Date returnTime)
    {
        this.returnTime = returnTime;
    }

    public Date getReturnTime()
    {
        return returnTime;
    }
    public void setCommunity(String community)
    {
        this.community = community;
    }

    public String getCommunity()
    {
        return community;
    }
    public void setCommunityCode(String communityCode)
    {
        this.communityCode = communityCode;
    }

    public String getCommunityCode()
    {
        return communityCode;
    }
    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setAcquisitionTime(Date acquisitionTime)
    {
        this.acquisitionTime = acquisitionTime;
    }

    public Date getAcquisitionTime()
    {
        return acquisitionTime;
    }
    public void setRemarke(String remarke)
    {
        this.remarke = remarke;
    }

    public String getRemarke()
    {
        return remarke;
    }
    public void setIsolatedState(String isolatedState)
    {
        this.isolatedState = isolatedState;
    }

    public String getIsolatedState()
    {
        return isolatedState;
    }
    public void setIsolatedStartTime(Date isolatedStartTime)
    {
        this.isolatedStartTime = isolatedStartTime;
    }

    public Date getIsolatedStartTime()
    {
        return isolatedStartTime;
    }
    public void setIsolatedEndTime(Date isolatedEndTime)
    {
        this.isolatedEndTime = isolatedEndTime;
    }

    public Date getIsolatedEndTime()
    {
        return isolatedEndTime;
    }
    public void setAreaRisk(String areaRisk)
    {
        this.areaRisk = areaRisk;
    }

    public String getAreaRisk()
    {
        return areaRisk;
    }
    public void setCloseContacts(String closeContacts)
    {
        this.closeContacts = closeContacts;
    }

    public String getCloseContacts()
    {
        return closeContacts;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("sex", getSex())
                .append("phone", getPhone())
                .append("address", getAddress())
                .append("cardNo", getCardNo())
                .append("age", getAge())
                .append("returnTime", getReturnTime())
                .append("community", getCommunity())
                .append("communityCode", getCommunityCode())
                .append("provinceCode", getProvinceCode())
                .append("province", getProvince())
                .append("cityCode", getCityCode())
                .append("city", getCity())
                .append("areaCode", getAreaCode())
                .append("area", getArea())
                .append("acquisitionTime", getAcquisitionTime())
                .append("remarke", getRemarke())
                .append("isolatedState", getIsolatedState())
                .append("isolatedStartTime", getIsolatedStartTime())
                .append("isolatedEndTime", getIsolatedEndTime())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("areaRisk", getAreaRisk())
                .append("closeContacts", getCloseContacts())
                .toString();
    }
}
